package com.liuliu.zua.mapper;

import java.util.List;
import com.liuliu.zua.domain.ZuaRecruitDetails;
import com.liuliu.zua.domain.ZuaRecruit;

/**
 * detailsMapper接口
 * 
 * @author liuliu
 * @date 2021-04-01
 */
public interface ZuaRecruitDetailsMapper 
{
    /**
     * 查询details
     * 
     * @param rDetailsId detailsID
     * @return details
     */
    public ZuaRecruitDetails selectZuaRecruitDetailsById(Long rDetailsId);
    /**
     * 查询details根据recruitId
     *
     * @param
     * @return details
     */
    public List<ZuaRecruitDetails> getInfoByRecruitId(Long recruitId);

    /**
     * 查询details列表
     * 
     * @param zuaRecruitDetails details
     * @return details集合
     */
    public List<ZuaRecruitDetails> selectZuaRecruitDetailsList(ZuaRecruitDetails zuaRecruitDetails);

    /**
     * 新增details
     * 
     * @param zuaRecruitDetails details
     * @return 结果
     */
    public int insertZuaRecruitDetails(ZuaRecruitDetails zuaRecruitDetails);

    /**
     * 修改details
     * 
     * @param zuaRecruitDetails details
     * @return 结果
     */
    public int updateZuaRecruitDetails(ZuaRecruitDetails zuaRecruitDetails);

    /**
     * 删除details
     * 
     * @param rDetailsId detailsID
     * @return 结果
     */
    public int deleteZuaRecruitDetailsById(Long rDetailsId);

    /**
     * 批量删除details
     * 
     * @param rDetailsIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteZuaRecruitDetailsByIds(Long[] rDetailsIds);

    /**
     * 批量删除${subTable.functionName}
     * 
     * @param customerIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteZuaRecruitByRecruitIds(Long[] rDetailsIds);
    
    /**
     * 批量新增${subTable.functionName}
     * 
     * @param zuaRecruitList ${subTable.functionName}列表
     * @return 结果
     */
    public int batchZuaRecruit(List<ZuaRecruit> zuaRecruitList);
    

    /**
     * 通过detailsID删除${subTable.functionName}信息
     * 
     * @param roleId 角色ID
     * @return 结果
     */
    public int deleteZuaRecruitByRecruitId(Long rDetailsId);
}
